Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faking cjs entry point for jest #9

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

EliasEriksson
Copy link
Contributor

This configuration pretends that a cjs entry point exists even though it does not. Without this jest / node fails to find the module when importing it from a test in another project. This is fine for us since we use ts-jest to fix the faking (I think).

The package was installed using npm link to verify that it could be imported correctly.

@EliasEriksson EliasEriksson merged commit d659752 into master Oct 28, 2024
4 checks passed
@EliasEriksson EliasEriksson deleted the faking-cjs-entry-point-for-jest branch October 28, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants